<table class="table table-bordered  table-hover ">
<thead >
 <thead>
        <tr>
           <th width="80"  class="th-sortable"  data-sort-name="id">ID</th>
            <th>素材分类</th>
            <th>素材图片</th>
            <th>素材文案</th>
            <th >类型</th>
            <th width="130" align="center">审核状态</th>
            <th width="180">创建时间</th>
            <th width="130">操作</th>
        </tr>
    </thead>
<tbody>

{volist name="data.list" id="vo" }
 <tr>
       <td>{$vo.id}</td>
       <td>{$vo.cate_name}</td>
       <td>
           {if condition="$vo.type == 2 || $vo.type == 3"}
           <img src="{$vo.cover}" style="width: 50px;height: 50px"/>
           {else}
           {volist name="$vo.images" id="img" }
           <img src="{$img}" style="width: 50px;height: 50px"/>
           {/volist}
           {/if}
       </td>
       <td>{$vo.content}</td>
       <td width="200">{$vo.type_text}
           {if condition="$vo.type == 2 || $vo.type == 3"}<a href="{$vo.video}" style="margin-left: 10px;" target="_blank">【查看视频】</a>{/if}
       </td>
       <td align="center">
           {if condition="$vo.is_audit == 0"}
           <span class="text-success">未审核</span>
           {/if}
           {if condition="$vo.is_audit == 2"}
           <span class="text-danger">审核拒绝</span>
           <div class="text-danger">{$vo.audit_reason}</div>
           {/if}
       <td>{$vo.add_time}</td>
       <td>
           <a data-toggle="ajaxModal" data-remote="{:url('sys_admin.audit/audit',array('id'=>$vo.id))}" class="m-xs" title="审核">
               <i class="fa fa-edit text-muted">审核</i></a>
<!--           <a href="{:url('del',array('id'=>$vo['id']))}" data-toggle="ajaxRemove" data-msg="确定删除 {$vo.title}？" class="m-xs" title="删除">-->
<!--                <i class="fa fa-trash text-muted"></i>-->
<!--           </a>-->
       </td>
</tr>
{/volist}
</tbody>
</table>
{empty name="data.list"}
<table width="100%" >
 	<tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}
